 <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<script>
  var i=1 
    while(i<=10){
     document.write("<input type='button' value='"+i+"'/>"+"<p>")
      i++;
 }
</script>